package org.contextsensitivetodo.context.rules.time;

public class TimeRuleTime {

	private int hourOfDay;
	private int minutes;

	private String stringPresentation;



	public TimeRuleTime(int hourOfDay, int minutes) {
		super();
		this.hourOfDay = hourOfDay;
		this.minutes = minutes;
		
		this.stringPresentation = "" + (this.hourOfDay < 10? "0" + this.hourOfDay : this.hourOfDay ) + (this.minutes < 10? "0" + this.minutes : this.minutes );
	}

	
	
	public int getHourOfDay() {
		return hourOfDay;
	}

	public int getMinutes() {
		return minutes;
	}

	public String getStringPresentation() {
		return stringPresentation;
	}

}
